projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bd9b42
)
tooltip: Initialize tooltip coords to given event coords
author
Timm Bäder
<mail@baedert.org>
Fri, 26 Apr 2019 05:34:18 +0000
(07:34 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Fri, 26 Apr 2019 16:05:32 +0000
(18:05 +0200)
Otherwise the coordinates passed to the query-tooltip signal are always
0.
gtk/gtktooltip.c
patch
|
blob
|
history
diff --git
a/gtk/gtktooltip.c
b/gtk/gtktooltip.c
index 794d65c30d355a1bb80a64e2e4c95a79d7483a93..22a7e68b1fa7a223046427683814597d975b3d0a 100644
(file)
--- a/
gtk/gtktooltip.c
+++ b/
gtk/gtktooltip.c
@@
-923,7
+923,7
@@
gtk_tooltip_handle_event_internal (GdkEventType event_type,
gdouble dx,
gdouble dy)
{
- int x =
0, y = 0
;
+ int x =
dx, y = dy
;
GdkDisplay *display;
GtkTooltip *current_tooltip;